package oo6;

public class Dog {
	protected String name = "小狗";

	public Dog() {

	}

	public void print() {
		System.out.println("这条狗叫" + name);
	}

	public static void printLegs() {
		System.out.println("狗有4条腿");
	}
}
